[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api_0x05.nas"]
	GLOBAL _api_openwindos
	
[SECTION .text]

_api_openwindos: ;int api_openwindos(char *buf, int xsize, int ysize, int col_inv, char *title);
	push edi
	push esi
	push ebx
	mov edx,0x5
	mov ebx,[esp+16] ;buf
	mov esi,[esp+20] ;xsize
	mov edi,[esp+24] ;ysize
	mov eax,[esp+28] ;col_inv
	mov ecx,[esp+32] ;title
	int 0x40
	pop ebx
	pop esi
	pop edi
	ret